package com.zhucan.tenant.datasource.extension;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author My Lord zhuCan
 * @description 配置类
 * @since 2022-12-09 11:42
 **/

@ConfigurationProperties(prefix = "tenant.datasource")
public class DatasourceTenantProperties {

    private String namePrefix="mycommunity";

    private String split ="_";

    private Boolean enabled;


    public String getNamePrefix() {
        return namePrefix;
    }

    public void setNamePrefix(String namePrefix) {
        this.namePrefix = namePrefix;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getSplit() {
        return split;
    }

    public void setSplit(String split) {
        this.split = split;
    }
}
